/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.loli.hernandez.modelo.beans;

import java.util.ArrayList;

/**
 *
 * @author nestor
 */
public class DatabaseTable {

    private String tableName;
    private String tableType;
    private ArrayList<TableColumn> tableColumns = new ArrayList<TableColumn>();
   
    
    public DatabaseTable() {
    }

    public DatabaseTable(String tableName, String tableType) {
        this.tableName = tableName;
        this.tableType = tableType;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableType() {
        return tableType;
    }

    public void setTableType(String tableType) {
        this.tableType = tableType;
    }
    
     public ArrayList<TableColumn> getTableColumns() {
        return tableColumns;
    }

    public void setTableColumns(ArrayList<TableColumn> tableColumns) {
        this.tableColumns = tableColumns;
    }

    @Override
    public String toString() {
    return tableName;
    }


 
}
